<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- 导入jstl标签库 导入shiro标签  --%>
<%@ page import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter"%>
<%@ page import="org.apache.shiro.authc.ExcessiveAttemptsException"%>
<%@ page import="org.apache.shiro.authc.IncorrectCredentialsException"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%-- 获取网站目录 --%>
<%
	String ctx = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + ctx;
	application.setAttribute("ctx", ctx);
%>
<%-- 禁止缓存 --%>
<%
	response.addHeader("Cache-Control", "no-store, must-revalidate");
	response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");
%>
